/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.leastknowledge.plkobey.impl;

import za.ac.cput.assignment2.leastknowledge.plkobey.GoeRecInterface;

/**
 *
 * @author yandiswa
 */
public class GeoRecImpl implements GoeRecInterface
{
     int length, width;

    public GeoRecImpl(){};

    public int Area(int len, int wid)
    {
        length = len;
        width = wid;
        return length*width;
    }

    public void SetLenghtWidth(int len, int wid)
    {
        length = len;
        width = wid;
    }

    public int GetLength()
    {
        return length;
    }

    public int GetWidth()
    {
        return width;
    }
}
